<!--User控制器的list filter-->
<form action="<?php echo $controller;?>showlist/1" method="get" class="filter-form-wrap" enctype="multipart/form-data">
    <div class="filter-wrap flex-row flex-justify-between flex-align-start flex-nowrap">
        <div class="flex-column flex-justify-center flex-align-start flex-nowrap" style="width: 60%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-start marginTB-5">
                <span style="width: 60px;">加入时间</span>
                <input type="text" name="start" id="startpicker" class="marginLR-5" value="<?php if (isset($start)):?><?php echo $start;?><?php endif;?>">
                <span style="width: 20px;">至</span>
                <input type="text" name="end" id="endpicker" class="marginLR-5" value="<?php if (isset($end)):?><?php echo $end;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">用户名</span>
                <input type="text" name="fusername" class="marginLR-5" style="width: 330px;" value="<?php if (isset($fusername)):?><?php echo $fusername;?><?php endif;?>">
            </div>
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">手机号</span>
                <input type="text" name="ftelnum" class="marginLR-5" style="width: 330px;" value="<?php if (isset($ftelnum)):?><?php echo $ftelnum;?><?php endif;?>">
            </div>
        </div>
        <div class="flex-column  flex-align-start flex-justify-start flex-nowrap" style="width: 40%;">
            <div class="flex-row flex-justify-start flex-nowrap flex-align-center marginTB-5">
                <span style="width: 60px;">来源</span>
                <select name="fsource" class="marginLR-5">
                    <option value="">全部</option>
                    <option value="weixin" <?php if (isset($fsource)&&$fsource == "weixin"):?><?php echo 'selected';?><?php endif;?>>微信用户</option>
                    <option value="gamer" <?php if (isset($fsource)&&$fsource == "gamer"):?><?php echo 'selected';?><?php endif;?>>游戏引导师</option>
                    <option value="admin" <?php if (isset($fsource)&&$fsource == "admin"):?><?php echo 'selected';?><?php endif;?>>管理员</option>
                </select>
            </div>
            <div class="flex-row flex-align-start flex-justify-start">
                <div class="filter-btn marginTB-5">筛选</div>
                <div class="reset-btn" style="margin:5px 10px;">重置</div>
            </div>
        </div>
    </div>
</form>
<script type="text/javascript">
    $(function () {
        var config = {showAnim:'drop',dateFormat:'yy-mm-dd',changeMonth:true,changeYear: true,
            monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]};
        $('#startpicker').datepicker(config);
        $('#endpicker').datepicker(config);
    });
</script>